package com.yeshine.opendata.entity;

import com.yeshine.opendata.core.EntityBase;

import java.util.List;

/**
 * Created by taohj on 2014/8/14.
 */
public class SysModel extends EntityBase {

    private Integer id;

    private String name;

    private String url;

    private SysDictionary type;

    private SysDictionary isLeaf;


    private SysModel parent;

    private Integer sort;

    private String description;

    private List<SysModel> children;


    public SysModel() {
    }

    public SysModel(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }


    public SysDictionary getType() {
        return type;
    }

    public void setType(SysDictionary type) {
        this.type = type;
    }

    public SysDictionary getIsLeaf() {
        return isLeaf;
    }

    public void setIsLeaf(SysDictionary isLeaf) {
        this.isLeaf = isLeaf;
    }

    public SysModel getParent() {
        return parent;
    }

    public void setParent(SysModel parent) {
        this.parent = parent;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public List<SysModel> getChildren() {
        return children;
    }

    public void setChildren(List<SysModel> children) {
        this.children = children;
    }
}
